![]() |
FSFlushFork |
||||
Header: | Files.h | Carbon status: | Supported | |
Causes all data written to an open fork to be written to disk.
OSErr FSFlushFork ( SInt16 forkRefNum );
The reference number of the fork to flush
A result code.
The actual fork contents are written to disk, as well as any other volume structures needed to access the fork. On HFS and HFS Plus, this includes the catalog, extents, and attribute B-trees; the volume bitmap; and volume header and alternate volume header (MDB, alterhate MDB), as needed.
On volumes that do not support FSFlushFork directly, the entire volume is flushed to be sure all volume structures associated with the fork are written to disk.
Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)